﻿using System;
using UnityEngine;

namespace IllusionUtility.SetUtility
{
	// Token: 0x0200034A RID: 842
	public static class TransformScaleEx
	{
		// Token: 0x06001544 RID: 5444 RVA: 0x00091624 File Offset: 0x0008F824
		public static void SetLocalScaleX(this Transform transform, float x)
		{
			Vector3 localScale = new Vector3(x, transform.localScale.y, transform.localScale.z);
			transform.localScale = localScale;
		}

		// Token: 0x06001545 RID: 5445 RVA: 0x0009165C File Offset: 0x0008F85C
		public static void SetLocalScaleY(this Transform transform, float y)
		{
			Vector3 localScale = new Vector3(transform.localScale.x, y, transform.localScale.z);
			transform.localScale = localScale;
		}

		// Token: 0x06001546 RID: 5446 RVA: 0x00091694 File Offset: 0x0008F894
		public static void SetLocalScaleZ(this Transform transform, float z)
		{
			Vector3 localScale = new Vector3(transform.localScale.x, transform.localScale.y, z);
			transform.localScale = localScale;
		}

		// Token: 0x06001547 RID: 5447 RVA: 0x000916CC File Offset: 0x0008F8CC
		public static void SetLocalScale(this Transform transform, float x, float y, float z)
		{
			Vector3 localScale = new Vector3(x, y, z);
			transform.localScale = localScale;
		}
	}
}
